// vue.config.js
const { VantResolver } = require('unplugin-vue-components/resolvers');
const ComponentsPlugin = require('unplugin-vue-components/webpack');
module.exports = {
    productionSourceMap: false,
    configureWebpack: {
        plugins: [
            ComponentsPlugin({
                resolvers: [VantResolver()],
            }),
        ],
    },
    chainWebpack: config => {
        config
            .plugin('html')
            .tap(args => {
                args[0].title= 'light server'
                return args
            })
    }
}
